/**
 * 
 * If you have edited the file, please update
 * all the last-modified fields manually. Thanks!
 *
 * @last-modified by: 
 * @last-modified date: 
 * @last-modified time: 
 *
 * @author Swee Zhi
 * @date-created Sep 6, 2011    @time-created 10:23:09 PM
 *
 * @project: 
 * @module: 
 * @institution: 
 *
 */
package util.entityhelper;

import entity.TouristEntity;
import java.io.Serializable;
import java.util.Date;
public class TouristAccountState implements Serializable {
    private Long id;
    private String username;
    private String password;
    private Date creationDate;
    private TouristEntity tourist;

    /** Creates a new instance of TouristAccountState */
    public TouristAccountState(Long accountId, String username,
            String password, Date creationDate,
            TouristEntity tourist) {
//            Long touristId,
//            String lastName, String firstName,
//            Character gender, Date birthdate,
//            Country country, String locale, 
//            String email, String emailSecondary) {
        this.setId(accountId);
        this.setUsername(username);
        this.setPassword(password);
        this.setCreationDate(creationDate);
        this.setTourist(tourist);
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public TouristEntity getTourist() {
        return tourist;
    }

    public void setTourist(TouristEntity tourist) {
        this.tourist = tourist;
    }
    
    
}